	.text
	.globl main
	.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zba1p0_zbb1p0"
main:
.main_0:
	sd			ra,-8(sp)
	addi		sp,sp,-32
	addiw		t0,x0,0
	sw			t0,12(sp)
	addiw		t0,x0,0
	sw			t0,8(sp)
	addiw		t0,x0,0
	sw			t0,4(sp)
	addiw		t0,x0,0
	sw			t0,0(sp)
	lw			t0,12(sp)
	addiw		t0,x0,0
	sw			t0,12(sp)
	lw			t0,8(sp)
	addiw		t0,x0,0
	sw			t0,8(sp)
	lw			t0,4(sp)
	addiw		t0,x0,0
	sw			t0,4(sp)
	jal			x0,.main_1
.main_1:
	lw			t0,12(sp)
	addiw		t1,x0,21
	blt			t0,t1,.main_2
	jal			x0,.main_3
.main_2:
	jal			x0,.main_4
.main_3:
	addiw		t0,x0,0
	add			a0,t0,x0
	addi		sp,sp,32
	ld			ra,-8(sp)
	jalr		x0,ra,0
.main_4:
	lw			t0,8(sp)
	addiw		t1,x0,101
	lw			t2,12(sp)
	subw		t1,t1,t2
	blt			t0,t1,.main_5
	jal			x0,.main_6
.main_5:
	lw			t0,4(sp)
	addiw		t0,x0,100
	lw			t1,12(sp)
	subw		t0,t0,t1
	lw			t1,8(sp)
	subw		t0,t0,t1
	sw			t0,4(sp)
	addiw		t0,x0,5
	lw			t1,12(sp)
	mulw		t0,t0,t1
	addiw		t1,x0,1
	lw			t2,8(sp)
	mulw		t1,t1,t2
	addw		t0,t0,t1
	lw			t1,4(sp)
	addiw		t2,x0,2
	divw		t1,t1,t2
	addw		t0,t0,t1
	addiw		t1,x0,100
	beq			t0,t1,.main_7
	jal			x0,.main_8
.main_6:
	lw			t0,12(sp)
	lw			t0,12(sp)
	addiw		t1,x0,1
	addw		t0,t0,t1
	sw			t0,12(sp)
	jal			x0,.main_1
.main_7:
	lw			t0,12(sp)
	add			a0,t0,x0
	call		putint
	lw			t0,8(sp)
	add			a0,t0,x0
	call		putint
	lw			t0,4(sp)
	add			a0,t0,x0
	call		putint
	lw			t0,0(sp)
	addiw		t0,x0,10
	sw			t0,0(sp)
	lw			t0,0(sp)
	add			a0,t0,x0
	call		putch
	jal			x0,.main_8
.main_8:
	lw			t0,8(sp)
	lw			t0,8(sp)
	addiw		t1,x0,1
	addw		t0,t0,t1
	sw			t0,8(sp)
	jal			x0,.main_4
	.data
